package com.yuantu.judiciary.exception.enums;

import com.yuantu.judiciary.common.CodeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 短信模块异常码
 *
 * @author syw
 * @since 2023-06-08
 **/
@Getter
@AllArgsConstructor
public enum CheckPersonExceptionEnum implements CodeEnum {

    /**
     * 个人尽调授权相关
     */
    AUTHORIZED_PASS_NOT_SEND_REPEAT(41001, "查询授权已通过，请勿重复操作"),
    QUERY_RECORD_NOT_EXIST(41002, "尽调请求记录不存在"),
    QUERY_AUTHORIZATION_NOT_EXIST(41003, "尽调授权记录不存在"),
    QUERY_AUTHORIZATION_NOT_PASS(41004, "尽调授权未通过"),
    QUERY_RECORD_AUTHORIZED(41005, "尽调记录已授权，请勿重复认证"),
    QUERY_TYPE_NOT_MATCH(41006, "尽调授权记录类型错误"),
    QUERY_PERSON_BUSINESS_USED_UP(41007, "商冲请求次数不足"),
    ;

    private final int code;
    private final String message;

}
